from filesystem import *
from layers import *
from location import *
from dataset import *
from meta import *
from onlineresource import *
from wms import *
from time import *
from custom import *

#class TileManager(models.GeoManager):
#    def create(self,file=None,url=None,*av,**kw):
#        if file is not None:
#            kw['extents'] = as_wkt_poly(file.extents())            
#        created = models.Manager.create(self, *av, **kw)
#        return created
#
#class Tile(models.Model):
#    extents = models.PolygonField(null=True, verbose_name=_('extents'))
#    dataset = models.ForeignKey(DataSet, verbose_name=_('data set'))
#    file = models.ForeignKey(File, verbose_name=_('file'))
#    objects = TileManager()
#    class Meta:
#        verbose_name = _('tile')
#        verbose_name_plural = _('tiles')
#
